package com.iot.service;

import com.iot.pojo.MRef;

import java.util.HashMap;
import java.util.List;

public interface RefService {
    List<MRef> initProvince();
    List<MRef> initProvinceBySelfId(int provinceId);
    List<MRef> initCityById(int provinceId);
    List<MRef> initCityBySelfId(int provinceId, int cityId);
    List<MRef> initAreaById(int cityId);

    List<MRef> initRegionById(int areaId, int appId);

    public List<MRef> initSiteById(int regionId, int appId);
    List<MRef> initLineById(int siteId, int appId);
    List<MRef> initDeviceStatus();
    List<MRef> initDeviceType();
    List<MRef> initDevice(HashMap<String, Object> map);


    public List<MRef> initSensor(int typeId);
    public List<MRef> initWarnType(int typeId);
}
